package mp.weixin.WXpublic.receive;

import mp.weixin.WXpublic.BaseReceiveMessage;

/**
 * 图片消息  
 * 图片链接 picUrl
 * 媒体id mediaId
 * 消息Id msgId
 * @author
 *
 */
public class RImageEntity extends BaseReceiveMessage {

	private String picUrl;
	private String mediaId;
	private long msgId;

	/**
	 * 图片链接
	 * 
	 * @return
	 */
	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	/**
	 * 图片消息的mediaId 调用多媒体文件下载接口拉取数据
	 * 
	 * @return
	 */
	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	/**
	 * 消息id，64位整型
	 * 
	 * @return
	 */
	public long getMsgId() {
		return msgId;
	}

	public void setMsgId(long msgId) {
		this.msgId = msgId;
	}

	@Override
	public ReceiveTypeEnum getMsgType() {
		// TODO Auto-generated method stub
		return ReceiveTypeEnum.IMAGE;
	}

}
